package com.lh.biz.dto.in.user;

import org.hibernate.validator.constraints.NotBlank;

import com.lh.biz.dto.BaseInDto;

/**
 * @author liuhui
 * @version 1.0
 * @date 2013-4-29 上午10:01:16
 */
public class LoginInDto extends BaseInDto {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3650243865435851438L;

	@NotBlank
//	@Size(min=3,max=40)
	private String name;
	@NotBlank
//	@Size(min=6,max=20)
	private String password;
	private String remoteAddress;
	private Long cartId;
	
	public Long getCartId() {
		return cartId;
	}
	public void setCartId(Long cartId) {
		this.cartId = cartId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemoteAddress() {
		return remoteAddress;
	}
	public void setRemoteAddress(String remoteAddress) {
		this.remoteAddress = remoteAddress;
	}
	
	
	
	
}
